﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class CreateNodeSilver : WikiPageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!base.IsAuthorized())
            return;
        if (IsPostBack)
            return;
        WikiSystem sys = base.WikiSystem;
        string url = Request.Url.ToString();
        int pos = url.IndexOf('?');
        if (pos != -1)
        {
            string quest = url.Substring(url.IndexOf('?') + 1);
            string hint = "workmode=createnode;label=" + quest;
            byte[] bytes = System.Text.UnicodeEncoding.Unicode.GetBytes(hint);
            this.Hint=Semantics.Config.iConvert.BytesToString(bytes);
        }
    }

    public string Hint { get; set; }
}